package Ch4;

/**
 * Created by Cai Ye on 2016/3/25.
 */
public abstract class OceanWorld1Fish implements OceanWorld1Swimmer {
    protected String name;

    public OceanWorld1Fish(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    @Override
    public abstract void swim();
}
